<%-- 
    Document   : Default
    Created on : 13/03/2014, 08:25:48 PM
    Author     : SANDRA
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <div id="head">
        </div>
        <div id="contenedor">
            INICIAR SESIÓN
            <form name="login" method="Post" action="iniciarsesion" />
            Usuario
            <input type="text" id="textCoje" name="nusuario"/>
            <br/>
            Clave 
            <input type="password" id="textCoje" name="clave"/>
            <br/>
            <input type="submit" name="bot" value="Ingresar"/>
            <br/>
            <%
                String resp = request.getParameter("resp");
                if (resp != null) {
                    out.print(resp);
                }
                String msj = request.getParameter("msj");
                if (msj != null) {
                    out.print(msj);
                }
                String mens = request.getParameter("men");
                if (mens != null) {
                    out.print(mens);
                }
            %>
        </form>
    </div>
</body>
</html>
